package top.lihope.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @ClassName: Student
 * @author: 求求别学了，我跟不上
 * @email: xiwang.li@qq.com
 * @date： 2023/4/10 22:26
 * @version： 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    private Integer id;

    private Integer stuAge;

    private String stuName;

    private String stuAddress;

    public Student(String stuName, String stuAddress) {
        this.stuName = stuName;
        this.stuAddress = stuAddress;
    }

    public Student(Integer stuAge , String stuName, String stuAddress) {
        this.stuAge = stuAge;
        this.stuName = stuName;
        this.stuAddress = stuAddress;
    }
}
